#ifndef __DIR_HMI_H
#define __DIR_HMI_H
//#include "stm32f10x.h"
#include "main.h"

#define RS232_SALVER_TX_NUM 200
#define RS232_SLAVER_RX_NUM 200

extern uint8_t gBus232_HMI_RxBuffer[];
extern uint8_t gBus232_HMI_RxCounter;   //HMI接收计数

void DRI_MakeModbusHMIUpMsgCrc(void);
void DRI_HMI_RX_Integration(void);
void RS485_HMI_Bus(uint8_t TxEnable);
void DRI_HMIUpStartTx(void);
void DRI_ProcessModbusHMIUpCmd3(void);
void DRI_ProcessModbusHMIUpCmd16(void);
void DRI_ProcessModbusHMIUpCmd6(void);

#endif









